package com.fduss.artStore.dao;

import com.fduss.artStore.entity.TypesMatt;

import java.util.List;

/**
 * @Author duocai wu
 * @Date 2017/6/24
 * @Time 20:16
 */
public interface TypesMattDao {

    /**
     *
     * @param typesMatt
     * @return a TypesMatt with TypesMatt id
     */
    TypesMatt add(TypesMatt typesMatt);

    void delete(int typesMattId);

    TypesMatt getOne(int typesMattId);

    List<TypesMatt> getAll();
}
